package com.yichat.micro.msghttpservice.core.record.mapper;

import com.yichat.micro.msghttpservice.core.record.model.MultiChildRecord;
import com.yichat.micro.msghttpservice.core.record.model.MultiChildRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MultiChildRecordMapper {
    int countByExample(MultiChildRecordExample example);

    int deleteByExample(MultiChildRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MultiChildRecord record);

    int insertSelective(MultiChildRecord record);

    List<MultiChildRecord> selectByExample(MultiChildRecordExample example);

    MultiChildRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MultiChildRecord record, @Param("example") MultiChildRecordExample example);

    int updateByExample(@Param("record") MultiChildRecord record, @Param("example") MultiChildRecordExample example);

    int updateByPrimaryKeySelective(MultiChildRecord record);

    int updateByPrimaryKey(MultiChildRecord record);

    void batchInsert(List<MultiChildRecord> batchInsertList);
}